package top.infopub.mgr.bpa.dao;

import org.apache.ibatis.annotations.Param;
import top.infopub.model.bpa.BusinessPaymentSettle;
import top.infopub.model.bpa.BusinessPaymentSettleExample;

import java.util.List;

public interface BusinessPaymentSettleDao {
    long countByExample(BusinessPaymentSettleExample example);

    int deleteByExample(BusinessPaymentSettleExample example);

    int deleteByPrimaryKey(String id);

    int insertBatch(List<BusinessPaymentSettle> records);

    int insert(BusinessPaymentSettle record);

    int insertSelective(BusinessPaymentSettle record);

    BusinessPaymentSettle selectOneByExample(BusinessPaymentSettleExample example);

    List<BusinessPaymentSettle> selectByExample(BusinessPaymentSettleExample example);

    BusinessPaymentSettle selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BusinessPaymentSettle record, @Param("example") BusinessPaymentSettleExample example);

    int updateByExample(@Param("record") BusinessPaymentSettle record, @Param("example") BusinessPaymentSettleExample example);

    int updateByPrimaryKeySelective(BusinessPaymentSettle record);

    int updateByPrimaryKey(BusinessPaymentSettle record);
}